package com.swift.authority.common.util;

import java.util.*;

/**
 * @author Administrator
 * @version 1.0
 * @description 自定义描述
 * @date 2022/06/29  19:54
 */
public class Util {
    public static void main(String[] args) {
        Map<Integer,String> keyMap = new HashMap<>();
        keyMap.put(0,"id");
        keyMap.put(1,"name");
        keyMap.put(2,"age");
        keyMap.put(3,"class");
        keyMap.put(4,"address");
        keyMap.put(5,"sax");
        StringBuilder builder = new StringBuilder();
        List<String> stringList = new ArrayList<>();

        for(int i =0; i<26;i++){
            for(int j =0; j<6;j++) {
                builder.append(keyMap.get(j)).append("->").append(keyMap.get(j)).append(UUID.randomUUID()).append(":");
            }
        }
        System.out.println(builder);
        String value = builder.toString();
        String[] split = value.split(":");
        for (int i = 0; i < split.length; i++) {
            System.out.println(split[i]);
        }

    }
}
